package com.ming.easyDevelop.entity.query;

import com.ming.easyDevelop.entity.query.base.BaseParam;
import java.util.Date;
import java.math.BigDecimal;

/**
 * @Description 
 * @Author ming
 * @Date 2024/07/10
 */
public class CouponsQuery extends BaseParam {
	/**
	 * 
	 */
	private String couponCode;

	/**
	 * couponCode的模糊查询字段
	 */
	private String couponCodeFuzzy;

	/**
	 * 
	 */
	private BigDecimal discount;

	/**
	 * 
	 */
	private Date expirationDate;

	/**
	 * 
	 */
	private Integer isUsed;

	/**
	 * 
	 */
	private Integer usedByUserID;

	public CouponsQuery(String couponCode, BigDecimal discount, Date expirationDate, Integer isUsed, Integer usedByUserID, String couponCodeFuzzy){
		this.couponCode = couponCode;
		this.discount = discount;
		this.expirationDate = expirationDate;
		this.isUsed = isUsed;
		this.usedByUserID = usedByUserID;
		this.couponCodeFuzzy = couponCodeFuzzy;
	}

	public CouponsQuery(){
	}
	public void setCouponCode(String couponCode){
		this.couponCode = couponCode;
	}

	public String getCouponCode(){
		return this.couponCode;
	}

	public void setDiscount(BigDecimal discount){
		this.discount = discount;
	}

	public BigDecimal getDiscount(){
		return this.discount;
	}

	public void setExpirationDate(Date expirationDate){
		this.expirationDate = expirationDate;
	}

	public Date getExpirationDate(){
		return this.expirationDate;
	}

	public void setIsUsed(Integer isUsed){
		this.isUsed = isUsed;
	}

	public Integer getIsUsed(){
		return this.isUsed;
	}

	public void setUsedByUserID(Integer usedByUserID){
		this.usedByUserID = usedByUserID;
	}

	public Integer getUsedByUserID(){
		return this.usedByUserID;
	}

	public void setCouponCodeFuzzy(String couponCodeFuzzy){
		this.couponCodeFuzzy = couponCodeFuzzy;
	}

	public String getCouponCodeFuzzy(){
		return this.couponCodeFuzzy;
	}

}